<link rel="stylesheet" type="text/css" href="/modules/profilemodule/css/client.css">
<script type="text/javascript" src="/modules/profilemodule/js/client_profile.js"></script>

{get_user assign='user'}
<script language="javascript">
    var _user_id={$user->id};    
    var lang = {$lang};
</script>
<div class="banner-navigation tabs-profile ui-tabs">
    <ul class="banner-navigation-image click_tabs ui-tabs-nav">
        <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active">
            <a class="banner_a" href="javascript: void(0);" rel="_profile">
                {$_TR.profile}
            </a>
        </li>
        <li class="ui-state-default ui-corner-top">
            <a  class="banner_a" href="javascript: void(0);" rel="_cases" >
                {$_TR.cases}</a>
        </li>
        <li class="ui-state-default ui-corner-top">
            <a class="banner_a"  href="javascript: void(0);" rel="_invoices">
                {$_TR.invoices}
            </a>
        </li>
        <li class="ui-state-default ui-corner-top">
            <a class="banner_a"  href="javascript: void(0);" rel="_document">
                {$_TR.document}
            </a>
        </li>
        <li class="ui-state-default ui-corner-top">
            <a class="banner_a"  href="javascript: void(0);" rel="_metting">
                {$_TR.metting}
            </a>
        </li>
    </ul>
</div>

<div class="linktabs_wrapper">
    <div class="linktabs_item" rel="_profile" style="display: block;">
        {assign var="tab_src" value="`$__loc->src`_profile"}
        {chain module='profilemodule' action='profile_main' src=$tab_src}
    </div>
    <div class="linktabs_item" rel="_cases">
        {assign var="tab_src" value="`$__loc->src`_cases"}
        {include file="`$smarty.const.BASE`modules/profilemodule/views/_cases_main.tpl"}
    </div>
    <div class="linktabs_item" rel="_invoices">
        {assign var="tab_src" value="`$__loc->src`_invoice"}
        {include file="`$smarty.const.BASE`modules/profilemodule/views/_invoice_main.tpl"}
    </div>
    <div class="linktabs_item" rel="_document">
        {assign var="tab_src" value="`$__loc->src`_document"}
        {*chain module='profilemodule' action='document_main' src=$tab_src*}
        {include file="`$smarty.const.BASE`modules/profilemodule/views/_document_main.tpl"}
        <div class="clear"></div>
    </div>
    <div class="linktabs_item" rel="_metting">
        {assign var="tab_src" value="`$__loc->src`_metting"}
        {chain module='profilemodule' action='meeting_main' src=$tab_src}

    </div>
    <div class="clear"></div>
</div>
<div class="clear"></div>
